#import "head.h"
#import "sprite_game_object.h"

@interface SpriteGameEnemyBoss2Skull : SpriteGameObject
{
	/*box2d
	*/
	b2Fixture *fixture_;
	
	/*image
	*/
	CCSprite *image_;
	CCSprite *weakPointFlag_;

	/*flag
	*/
	bool flagRotate_;
	bool flagWeakPoint_;
}

@property (nonatomic, readwrite) bool flagRotate;
@property (nonatomic, readwrite) bool flagWeakPoint;

- (id)initSpriteGameEnemySkull;
- (void)dealloc;
- (void)tick:(ccTime)Time;
- (void)tickSkullWeakPointTimeOver:(ccTime)Time;

- (void)CreateBody;
- (void)DestroyBody;
- (b2Vec2)ComputeBodyPosition;

/*game state control
*/
- (void)Pause;
- (void)Resume;

- (void)ActionWeakPoint:(float)Time;
- (void)StopActionWeakPoint;
- (void)ActionReturn:(float)Time;
- (void)ActionOut:(float)Time And:(CGPoint)Position;
- (void)ActionDie;

/*call back function
*/
- (void)CallBackActionOutMoveOver:(id)Sender;
- (void)CallBackActionDie:(id)Sender;

@end
